From: David Bauer Date: Wed, 8 Sep 2021 07:53:26 +0000 (+0200) Subject: remote: use port macro for destination port X-Git-Url: http://git.openwrt.org/%22https:/collectd.org///%22https:/collectd.org/?a=commitdiff_plain;h=a52de0ff2015162e1fb3fdbb03bbdb74cf592abe;p=project%2Fusteer.git remote: use port macro for destination port Signed-off-by: David Bauer --- diff --git a/remote.c b/remote.c index 16ecb0f..eeb0632 100644 --- a/remote.c +++ b/remote.c @@ -402,7 +402,7 @@ static void interface_send_msg(struct interface *iface, struct blob_attr *data) struct cmsghdr *cmsg; a.sin_family = AF_INET; - a.sin_port = htons(16720); + a.sin_port = htons(APMGR_PORT); a.sin_addr.s_addr = ~0; memset(cmsg_data, 0, sizeof(cmsg_data));